.PHONY:all
all: ClientCalc ServerCalc

Flag = -DMySel = 1
Lib = -ljsoncpp

ClientCalc:ClientCalc.cc
	g++ -o $@ $^ -std=c++11 $(lib) #$(Flag)
ServerCalc:ServerCalc.cc
	g++ -o $@ $^ -std=c++11 -g $(lib) #$(Flag)

.PHONY:clean
clean:
	rm -rf ServerCalc ClientCalc
